#include "editor/palette.h"

using namespace anip;

editor::Palette::Palette(Container* parent)
    : EditorWindow(parent, vec2{ 80, 500 }, L"调色板")
{
    assert(Globals::palette == nullptr);
    Globals::palette = this;
}

void editor::Palette::processMarkedDelete()
{
    Globals::palette = nullptr;
}
